package vn.muzik.action;

import org.apache.log4j.Logger;
import org.apache.struts2.convention.annotation.Result;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import vn.muzik.util.Log4jUtil;

import com.opensymphony.xwork2.ActionSupport;

@SuppressWarnings("serial")
@Controller
@Scope("request")
@Result(name=ActionSupport.SUCCESS,location="User/login.jsp")
public class UserAction extends BaseAction{
    
    private static final Logger logger = Log4jUtil.getLogger();

    @Override
    public String execute() throws Exception {
        logger.info("test.....");
        return SUCCESS;
    }
    
    @Override
    public void initAction() throws Exception {
        // TODO Auto-generated method stub
        
    }

    @Override
    public void destroy() throws Exception {
        // TODO Auto-generated method stub
        
    }
    
}
